<template>
  <div>
    <el-dialog
      :show-close="false"
      :visible.sync="formLimit.visible"
      width="20%"
      center
    >
      <div style="height:100px"></div>
      <span class="row_center">{{ formLimit.value }}</span>
      <div style="height:100px"></div>
      <span slot="footer" class="dialog-footer">
        <!-- <el-button @click="dialogVisible = false">取 消</el-button> -->
        <el-button type="primary" @click="formLimit.visible = false"
          >确 定</el-button
        >
      </span>
    </el-dialog>
  </div>
</template>

<script>
export default {
  props: {
    formLimit: {
      default: Object,
      default: function() {
        return {
          visible: false,
          value: ''
        }
      }
    }
  },
  data() {
    return {
      dialogVisible: false
    }
  },
  created() {},
  mounted() {},
  methods: {}
}
</script>

<style lang="less" scoped>
.row_center {
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
